class SoundManager {
	private sd_effect:egret.Sound;
	private sc_effect:egret.SoundChannel;
	public constructor() {
	}
	public play(_name:string):void
	{
		if(this.sc_effect)
		{
			this.sc_effect.stop();
			this.sc_effect=null;
		}
		this.sd_effect=RES.getRes(_name);
		this.sc_effect=this.sd_effect.play(0,1);
	}
}